package com.aizhixin.test.question.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.aizhixin.test.question.dao.answerEverydayDAO;
import com.aizhixin.test.question.dto.anserEverydayDTO;

@Service
@Transactional
public class answerEverydayService {
/**
 * 根据用户ID查看每日答题信息
 */
	@Autowired
	private answerEverydayDAO answerEverydayDAO;
	public List<anserEverydayDTO> geteverDayAnswerImformation(int userId) {
		
		return answerEverydayDAO.getOneAnserImformation(userId);
	}
}
